package com.hzhr.iot.collect.protocol.responder;

import com.hzhr.iot.collect.model.CommandResponseModel;
import com.hzhr.iot.collect.protocol.logger.Logger;
import com.hzhr.iot.collect.protocol.parser.Parser;
import com.hzhr.iot.collect.protocol.sender.Sender;

import java.util.List;

public interface Responder {
    Sender getSender();

    CommandResponseModel response(List<String> respMsgList, String deviceId, int protocolId, String functionCode, Parser parser) throws Exception;
}
